package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IContractService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author 上官徵羽
 * @version 1.0
 * @since 2025-08-13 16:49
 */
@Component
@Slf4j
public class UodateContractJob {
    @Autowired
    private IContractService iContractService;

    public void updateContract() {
        log.warn("更新合同");
        iContractService.updateContract();
    }
}
